<layout name='Layout/layout_page' />

	<ol class="breadcrumb">
		<li><a href="<{:U('Member/index')}>"><{:L('_menu_member')}></a></li>
      	<li class="active">Detail</li>
    </ol>

	<form id="ajaxForm" action="<{:U('Mentees/update')}>" method="post" class="form-horizontal form-validata">

		<div class="form-group">
			<label class="col-md-2 control-label" for="name">Avatar</label>
			<div class="col-md-5">
				<img src="<{$list['face']|getFace=###}>" class="avatar">
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label" for="name">Nickname</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['nickname']}></div>
			</div>
			<label class="col-md-2 control-label" for="name">Email</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['email']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label" for="name">First name</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['firstname']}></div>
			</div>
			<label class="col-md-2 control-label" for="name">Last name</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['lastname']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label" for="name">Gender</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['gender']}></div>
			</div>
			<label class="col-md-2 control-label" for="keyword">Birthday</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['birthday']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label">Phone</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['phone']}></div>
			</div>
			<label class="col-md-2 control-label">Major</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['major']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label">School</label>
			<div class="col-md-5">
				<div class="form-control-static"><{$list['school']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label">Address</label>
			<div class="col-md-5">
				<div class="form-control-static"><{$list['address']}>,<br/><{$list['city']}>,<{$list['state']}>,Zip code <{$list['zip']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label">Desired working area</label>
			<div class="col-md-5">
				<div class="form-control-static"><{$list['desired']}></div>
			</div>
		</div>


		<div class="form-group">
			<label class="col-md-2 control-label">Description</label>
			<div class="col-md-5">
				<div class="form-control-static"><{$list['description']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label">Create Date</label>
			<div class="col-md-5">
				<div class="form-control-static"><{$list['createTime']|date="Y-m-d H:i:s",###}></div>
			</div>
		</div>	

		<div class="form-group">
			<label class="col-md-2 control-label" for="keyword">status</label>
			<div class="col-md-10">
				<label class="radio-inline">
					<input type="radio" name="basic" value="1" <php>if($list['basic']==='1')echo checked;</php>> Accept
				</label>
				<label class="radio-inline">
					<input type="radio" name="basic" value="0" <php>if($list['basic']==='0')echo checked;</php>> Refused
				</label>
			</div>
		</div>	
		<input type="hidden" name="userid" value="<{$list['userid']}>" />
		<div class="form-group">
			<div class="col-md-10 col-sm-offset-2">
				<button type="submit" class="btn btn-info" ><{:L(_public_submit)}></button>
			</div>
		</div>
	</form>


<input type="hidden" id="menu_action" value="user" />